package com.lhy.framework.test.bean;

import com.lhy.framework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @Title:
 * @Description: 功能概述:
 * @Author: lihaiyang
 * @version: 1.0 .
 * @Date: 2022-09-13 16:14
 * @Copyright: Copyright(c)2022 RedaFlight.comAll Rights Reserved
 */
public class UserServiceBeforeAdvice implements MethodBeforeAdvice {

    @Override
    public void before(Method method, Object[] args, Object target) {
        System.out.println("拦截方法：" + method.getName());
    }
}
